package com.cskaoyan.app.bean.vo;

import com.cskaoyan.app.bean.po.MarketGoods;
import com.cskaoyan.app.bean.po.MarketGoodsAttribute;
import com.cskaoyan.app.bean.po.MarketGoodsProduct;
import com.cskaoyan.app.bean.po.MarketGoodsSpecification;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GoodsDetailVo {
    /**
     * categoryIds : [1036083,1036086]
     * goods : {"brief":"商品简介","keywords":"mjx,music,guanfang","addTime":"2022-11-24 10:51:40","goodsSn":"11242022","updateTime":"2022-11-25 01:34:23","isNew":true,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/92luq8d1tvomizsl50lk.jpg","unit":"g","deleted":false,"brandId":1046009,"sortOrder":100,"name":"lyf","shareUrl":"","counterPrice":7451,"id":1181044,"detail":"<p>商品详细介绍mjxmusicguanfang<\/p>","isOnSale":true,"retailPrice":4049,"categoryId":1036086,"gallery":["http://182.92.235.201:8083/wx/storage/fetch/5wllye5vpceq5jxqaiw4.jpg","http://182.92.235.201:8083/wx/storage/fetch/zld8n44tvgu40lalogsi.jpg"],"isHot":false}
     * attributes : [{"deleted":false,"addTime":"2022-11-24 10:51:41","goodsId":1181044,"updateTime":"2022-11-24 10:51:41","id":907,"attribute":"商品参数名称02","value":"商品参数值02"},{"deleted":false,"addTime":"2022-11-24 10:51:41","goodsId":1181044,"updateTime":"2022-11-24 10:51:41","id":908,"attribute":"商品参数名称01","value":"商品参数值01"}]
     * specifications : [{"picUrl":"","deleted":false,"addTime":"2022-11-24 10:51:41","goodsId":1181044,"specification":"规格名01","updateTime":"2022-11-24 10:51:41","id":302,"value":"规格值01"},{"picUrl":"","deleted":false,"addTime":"2022-11-24 10:51:41","goodsId":1181044,"specification":"规格名02","updateTime":"2022-11-24 10:51:41","id":303,"value":"规格值02"}]
     * products : [{"number":1101,"deleted":false,"addTime":"2022-11-24 10:51:41","goodsId":1181044,"price":4049,"updateTime":"2022-11-25 14:19:12","id":293,"specifications":["规格值01","规格值02"],"url":""}]
     */
    private List<Integer> categoryIds;
    private MarketGoods goods;
    private List<MarketGoodsAttribute> attributes;
    private List<MarketGoodsSpecification> specifications;
    private List<MarketGoodsProduct> products;


}
